Reactjs creates infinite loop using setTimeout

welcome to shbcf.ru